package com.ophiux.cs.application.user.dto;

import com.ophiux.cs.application.core.RequestDTO;
import com.ophiux.cs.application.core.Throws.ParamException;
import com.ophiux.utils.common.StringUtil;

/**
 * 允许修改的用户信息 入参
 * @author ADMIN
 *
 */
public class updateUserInfoRequest extends RequestDTO{

	private String USER_ID;//	Y	String	用户标识
	private String USER_NAME;//	N	String	用户姓名
	private String EMAIL;//	N	String	邮箱地址
	private String SEX;//	N	String	性别 1-男  0-女
	private String BIRTH_DAY;//	N	String	出生日期
	private String ADDRESS;//	N	String	住址
	public String getUSER_ID() {
		return USER_ID;
	}
	public void setUSER_ID(String uSER_ID) {
		USER_ID = uSER_ID;
	}
	public String getUSER_NAME() {
		return USER_NAME;
	}
	public void setUSER_NAME(String uSER_NAME) {
		USER_NAME = uSER_NAME;
	}
	public String getEMAIL() {
		return EMAIL;
	}
	public void setEMAIL(String eMAIL) {
		EMAIL = eMAIL;
	}
	public String getSEX() {
		return SEX;
	}
	public void setSEX(String sEX) {
		SEX = sEX;
	}
	public String getBIRTH_DAY() {
		return BIRTH_DAY;
	}
	public void setBIRTH_DAY(String bIRTH_DAY) {
		BIRTH_DAY = bIRTH_DAY;
	}
	public String getADDRESS() {
		return ADDRESS;
	}
	public void setADDRESS(String aDDRESS) {
		ADDRESS = aDDRESS;
	}
	
	public void paramVer() throws ParamException{
		if(StringUtil.isEmpty(this.USER_ID)) {
			throw new ParamException("用户唯一标识不可为空");
		}
	}
	@Override
	public boolean isParamValid() {
		// TODO Auto-generated method stub
		return false;
	}
}
